package JavaSE.CODE.javaIO;

import java.io.PrintWriter;

public class PrintDemo {
    public static void main(String[] args) throws Exception{
        PrintWriter printWriter = new PrintWriter("D:\\print.txt");
        printWriter.println('a');
        printWriter.println(97);
        printWriter.println(3.14);

        printWriter.close();

    }
}
